<h1>
    This is news
</h1>
<!-- angular中绑定对象 -->
<p>{{title}}</p>
<p>{{msg}}</p>
<!-- angular中绑定属性 -->
<div [title]='student'>
    张三
</div>

<!-- angular中绑定HTML -->
<div [innerHTML]='content'>

</div>

<!-- angular里面的普通数据循环 -->
<ol>
    <li *ngFor="let item of arr">
        {{item}}
    </li>
</ol>

<!-- angular里面的嵌套数据循环 -->
<ol>
    <li *ngFor="let item of userlist">
        {{item.username}}----{{item.age}}
    </li>
</ol>